This will only happen after you've found one of the elements. (If you don't know what I mean by this, you'll find out as you solve other puzzles.)
And you're not really stuck -- you're just limited in how you can move.
Once you find an element, you first need to click on it to put it into the altar.